package com.xy.user.domain;


import com.xy.core.init.mysql.BaseEntity;
import com.xy.core.init.mysql.annotation.Column;
import com.xy.core.init.mysql.annotation.Entity;
import com.xy.core.init.mysql.annotation.Id;
import com.xy.core.init.mysql.annotation.Table;

/**
 * 菜单权限
 * Created by 汤伟杰 on 2017/6/17.
 */
@Entity
@Table(name="czj_xy_permission",describe = "菜单角色权限关系")
public class Xypermission extends BaseEntity {
    @Id
    @Column(describe = "权限ID",length = 19,inputType = "hidden")
    private String permissionId;
    @Column(describe = "菜单",length = 19,inputType = "select",inputCode = "str")
    private String menuId;
    @Column(describe = "角色",length = 19,inputType = "select",inputCode = "str")
    private String roleId;

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
